package com.wodsy.phoenix.dataobject.settlec.model;// Generated 2015-4-22 12:57:02 by Hibernate Tools 3.4.0.CR1

import com.wodsy.phoenix.dataobject.base.PhoenixObject;
import com.wodsy.phoenix.dataobject.base.PhoenixRequest;
import com.wodsy.phoenix.dataobject.base.PhoenixResponse;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TbSettleRequest generated by hbm2java
 */
@Entity
@Table(name = "tb_settle_request", catalog = "settlec")
public class SettleRequest  extends PhoenixObject implements Serializable,PhoenixRequest,PhoenixResponse {

	private Integer id;
	private Integer status;
	private Integer totalFee;
	private Integer commissionFee;
	private Integer proceduresFee;
	private Integer realReceiveFee;
	private Integer shopAccountId;
	private Integer shopId;
	private Date createdDate;
	private Date statusDate;

	public SettleRequest() {
	}

	public SettleRequest(Integer status, Integer totalFee,
			Integer commissionFee, Integer proceduresFee,
			Integer realReceiveFee, Integer shopAccountId, Integer shopId,
			Date createdDate, Date statusDate) {
		this.status = status;
		this.totalFee = totalFee;
		this.commissionFee = commissionFee;
		this.proceduresFee = proceduresFee;
		this.realReceiveFee = realReceiveFee;
		this.shopAccountId = shopAccountId;
		this.shopId = shopId;
		this.createdDate = createdDate;
		this.statusDate = statusDate;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "status")
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "total_fee")
	public Integer getTotalFee() {
		return this.totalFee;
	}

	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}

	@Column(name = "commission_fee")
	public Integer getCommissionFee() {
		return this.commissionFee;
	}

	public void setCommissionFee(Integer commissionFee) {
		this.commissionFee = commissionFee;
	}

	@Column(name = "procedures_fee")
	public Integer getProceduresFee() {
		return this.proceduresFee;
	}

	public void setProceduresFee(Integer proceduresFee) {
		this.proceduresFee = proceduresFee;
	}

	@Column(name = "real_receive_fee")
	public Integer getRealReceiveFee() {
		return this.realReceiveFee;
	}

	public void setRealReceiveFee(Integer realReceiveFee) {
		this.realReceiveFee = realReceiveFee;
	}

	@Column(name = "shop_account_id")
	public Integer getShopAccountId() {
		return this.shopAccountId;
	}

	public void setShopAccountId(Integer shopAccountId) {
		this.shopAccountId = shopAccountId;
	}

	@Column(name = "shop_id")
	public Integer getShopId() {
		return this.shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "created_date", length = 19)
	public Date getCreatedDate() {
		return this.createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "status_date", length = 19)
	public Date getStatusDate() {
		return this.statusDate;
	}

	public void setStatusDate(Date statusDate) {
		this.statusDate = statusDate;
	}

	@Override
	public String toString() {
		return "SettleRequest{" +
				"id=" + id +
				", status=" + status +
				", totalFee=" + totalFee +
				", commissionFee=" + commissionFee +
				", proceduresFee=" + proceduresFee +
				", realReceiveFee=" + realReceiveFee +
				", shopAccountId=" + shopAccountId +
				", shopId=" + shopId +
				", createdDate=" + createdDate +
				", statusDate=" + statusDate +
				'}';
	}
}
